package com.etoak.car.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Car {
    private Integer id;
    private String name;
    private double price;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    private String zudate;
    private int uid;
    private int typeid;
    private int status;
    private String info;
    private String carnum;
    private String pic;
}
